<?php if ($_COOKIE_DATA->type == 1 && $_COOKIE_DATA->asAdmin): ?>
<ul id="navmenu-h">
	<li><a href="dashboard.php">Home </a></li>
	<li><a>Master + </a>
	<ul>
		<li><a>Master Karyawan + </a>
		<ul>
			<li><a href="dashboard.php?p=karyawan">Karyawan</a></li>
			<li><a href="dashboard.php?p=divisi">Divisi</a></li>
			<li><a href="dashboard.php?p=departemen">Department</a></li>
			<li><a href="dashboard.php?p=jabatan" onclick="">Jabatan</a></li>
			<li><a href="dashboard.php?p=statusKaryawan">Status</a></li>
			<li><a href="dashboard.php?p=golongan">Golongan</a></li>
		</ul>
		</li>
		<li><a>Master Reward &amp; Punishment + </a>
		<ul>
			<li><a href="dashboard.php?p=rewarddanpunishment">Reward dan Punishment</a></li>
			<li><a href="dashboard.php?p=prestasipelanggaran">Prestasi / Pelanggaran</a></li>
			<li><a href="dashboard.php?p=detil_prestasipelanggaran">Detail Prestasi / Pelanggaran</a></li>
			<li><a href="dashboard.php?p=nilai">Nilai</a></li>
		</ul>
		</li>
	</ul>
	</li>
 
	<li><a>Transaksi</a>
	<ul>
		<li><a href="dashboard.php?p=perbuatan">Perbuatan</a></li>
        <li><a href="dashboard.php?p=ranking">Rangking</a></li>
	</ul>
	</li>
    
    <li><a>Laporan Grafik</a>
    <ul>
		<li><a href="dashboard.php?p=total-point-karyawan">Total Point Karyawan</a></li>
        <li><a href="dashboard.php?p=total-point-departemen">Total Point Departemen</a></li>
        <li><a href="dashboard.php?p=perolehan-reward-punishment">Perolehan Reward &amp; Punishment</a></li>
        <li><a href="dashboard.php?p=total-pelanggaran-departemen">Total Pelanggaran Departemen</a></li>
        <li><a href="dashboard.php?p=prestasi-pelanggaran-per-bidang">Prestasi Pelanggaran per Bidang</a></li>
        <li><a href="dashboard.php?p=total-point-perguruan-tinggi">Total Point Perguruan Tinggi</a></li>
        <li><a href="dashboard.php?p=reward-punishment-perguruan-tinggi">Reward Punishment Perguruan Tinggi</a></li>
	</ul>
	</li>
<!--
	<li><a>Laporan</a>
	<ul>
		<li><a href="dashboard.php?p=laporan_global">Laporan global</a></li>
		<li><a href="dashboard.php?p=laporan_detil">Laporan detail</a></li>
		<li><a href="dashboard.php?p=laporan_periodeGraph">Laporan grafik perperiode</a></li>
		<li><a href="dashboard.php?p=laporan_departemenGraph">Laporan grafik perdepartment</a></li>
		<li><a href="dashboard.php?p=laporan_rataKinerjaGraph">Laporan Grafik Jumlah karyawan nilai rata -rata</a></li>
		<li><a href="dashboard.php?p=laporan_karyawanGraph">Laporan Grafik PerKaryawan</a></li>
		<li><a href="dashboard.php?p=laporan_kriteria">Laporan Kriteria</a></li>
		<li><a href="dashboard.php?p=laporan_kriteria2">Laporan Kriteria 2</a></li>
	</ul>
	</li>
-->
	<li><a href="dashboard.php?p=dataUser">Users Privillage</a></li>
	<li><a class="fake" onclick="location.replace('lib/logout.php')">Logout</a></li>

</ul>
<?php else: ?>
<ul id="navmenu-h">
	<li><a href="dashboard.php">Home </a></li>
	<li><a onclick="changePassword('<?php echo $_COOKIE_DATA->username?>')">Password Change</a></li>
	<li><a href="dashboard.php?p=perbuatan">Reward &amp; Punishment</a></li>
	<li><a class="fake" onclick="location.replace('lib/logout.php')">Logout +</a></li>
</ul>
<?php endif; ?>